<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for utils\chart-config.ts</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../prettify.css" />
    <link rel="stylesheet" href="../base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(../sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="../index.html">all files</a> / <a href="index.html">utils/</a> chart-config.ts
    </h1>
    <div class='clearfix'>
      <div class='fl pad1y space-right2'>
        <span class="strong">90.91% </span>
        <span class="quiet">Statements</span>
        <span class='fraction'>30/33</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">100% </span>
        <span class="quiet">Branches</span>
        <span class='fraction'>0/0</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">0% </span>
        <span class="quiet">Functions</span>
        <span class='fraction'>0/1</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">90.91% </span>
        <span class="quiet">Lines</span>
        <span class='fraction'>30/33</span>
      </div>
    </div>
  </div>
  <div class='status-line high'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import * as moment from 'moment';
&nbsp;
export const BASE_OPTION = {
    backgroundColor: '#FFF',
    animation: true,
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'cross'
        },
        backgroundColor: 'rgba(245, 245, 245, 0.8)',
        borderWidth: 1,
        borderColor: '#ccc',
        padding: 10,
        textStyle: {
            color: '#000'
        },
        position: function (pos, params, el, elRect, size<span class="fstat-no" title="function not covered" >) {</span>
            var obj = <span class="cstat-no" title="statement not covered" >{ top: 10 };</span>
<span class="cstat-no" title="statement not covered" >            obj[['left', 'right'][+(pos[0] &lt; size.viewSize[0] / 2)]] = 30;</span>
<span class="cstat-no" title="statement not covered" >            return obj;</span>
        },
        extraCssText: 'width: 170px'
    },
    axisPointer: {
        link: { xAxisIndex: 'all' },
        label: {
            backgroundColor: '#777'
        }
    },
    grid: [
        {
            name: 'base',
            left: '10%',
            right: '8%',
            height: '70%'
        }
        // {
        //     left: '10%',
        //     right: '8%',
        //     bottom: '10%',
        //     height: '50'
        // },
        // {
        //     left: '10%',
        //     right: '8%',
        //     bottom: '30%',
        //     height: '50'
        // }
    ],
    xAxis: [{
        type: 'category',
        data: [],
        scale: true,
        boundaryGap: false,
        axisLine: { onZero: false },
        splitLine: { show: false },
        splitNumber: 20,
        min: 'dataMin',
        max: 'dataMax',
        axisPointer: {
            z: 100
        }
    }],
    yAxis: [
        {
            scale: true,
            splitLine: { show: false },
        }
    ],
    dataZoom: [
        {
            type: 'inside',
            xAxisIndex: [0],
            start: 60,
            end: 100
        }
    ],
    series: [
    ]
};
&nbsp;
export const XAXIS = {
    type: 'category',
    //data: [],
    scale: true,
    boundaryGap: false,
    // axisLine: { onZero: false }, // 控制水平线0下
    splitLine: { show: false },
    axisLabel: { show: false },
    splitNumber: 20,
    min: 'dataMin',
    max: 'dataMax',
    axisPointer: {
        z: 100
    }
};
&nbsp;
export const YAXIS_BASE = {
    scale: true,
    gridIndex: 1,
    min: "dataMin",
    max: "dataMax",
    axisLabel: { show: false },
    axisLine: { show: false },
    axisTick: { show: false },
    splitLine: { show: false }
};
&nbsp;
export const TEST_CHARTDATA = {
    Close: [2, 1, 3, 1, 3, 1, 2, 3, 2, 2],
    High: [3, 2, 3, 4, 3, 3, 3, 2, 3, 5],
    Interval: 60,
    Low: [2, 1, 2, 3, 2, 2, 2, 1, 2, 4],
    Open: [3, 2, 1, 3, 1, 3, 1, 2, 3, 2],
    Symbol: 'FX168_MSFX_GBP',
    Time: [1499910060000, 1499910120000, 1499910180000, 1499910240000, 1499910300000, 1499910360000, 1499910420000, 1499910480000, 1499910540000, 1499910600000],
    Volume: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
}
&nbsp;
export const TEST_CHARTDATA_EMA_SUCCESS = [2,1.8182,2.0331,1.8453, 2.0552,1.8633, 1.8882,2.0903,2.0739,2.0605];
&nbsp;
export const TEST_CHARTDATA_MA_SUCCESS = [ 2 , 1.5, 2 , 1.75, 2 , 1.8 , 2 , 2 , 2.2 , 2 ];
&nbsp;
export const TEST_CHARTDATA_MACD_SUCCESS =  [ [ 0 , -0.0797 , 0.0182 , -0.0648 , 0.0304 , -0.0549 , -0.0413 , 0.0496 , 0.0405 , 0.0329 ],
 [ 0 , -0.0159 , -0.0091 , -0.0202 , -0.0101 , -0.0191 , -0.0235 , -0.0089 , 0.001 , 0.0074 ],
 [ 0 , -0.0638 , 0.0273 , -0.0446 , 0.0405 , -0.0358 , -0.0178 , 0.0585 , 0.0395 , 0.0255 ] ];
&nbsp;
export const TEST_CHARTDATA_BIAS_SUCCESS =  [0 , -33.333 , 50 , -40 , 28.571 , -40 , 0 , 50 , -14.286 , -14.286 ];
&nbsp;
 export const TEST_CHARTDATA_BOLL_SUCCESS =  [ [ 2 , 1.5 , 2 , 1.6667 , 2.3333 , 1.6667 , 2 , 2 , 2.3333 , 2.3333 ],
 [ 2 , 2.5 , 3.633 , 3.5523 , 4.2189 , 3.5523 , 3.633 , 3.633 , 3.2761 , 3.2761 ],
 [ 2 , 0.5 , 0.367 , -0.2189 , 0.4477 , -0.2189 , 0.367 , 0.367 , 1.3905 , 1.3905 ] ] ;
&nbsp;
&nbsp;
 export const TEST_CHARTDATA_RSI_SUCCESS =  [ 50 , 0 , 66.6667 , 40.0012 , 57.1422 , 44.4444 , 50 , 60 , 44.4444 , 57.1422 ];
&nbsp;
 export const TEST_CHARTDATA_ZERO = {
     Close: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
     High: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
     Interval: 60,
     Low: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
     Open: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
     Symbol: 'FX168_MSFX_GBP',
     Time: [1499910060000, 1499910120000, 1499910180000, 1499910240000, 1499910300000, 1499910360000, 1499910420000, 1499910480000, 1499910540000, 1499910600000],
     Volume: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 }
&nbsp;
 export const TEST_CHARTDATA_ZERO_ONE = [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ];
 export const TEST_CHARTDATA_RSI_ZERO_ONE = [ 50 , 50 , 50 , 50 , 50 , 50 , 50 , 50 , 50 , 50 ] ;
 export const TEST_CHARTDATA_ZERO_THREE = [ [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ,
 [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ,
 [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ];
&nbsp;
 export const TEST_CHARTDATA_UNDERZERO = {
     Close: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
     High: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
     Interval: 60,
     Low: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
     Open: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
     Symbol: 'FX168_MSFX_GBP',
     Time: [1499910060000, 1499910120000, 1499910180000, 1499910240000, 1499910300000, 1499910360000, 1499910420000, 1499910480000, 1499910540000, 1499910600000],
     Volume: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 }
&nbsp;
export const TEST_CHARTDATA_UNDERZERO_ONE = [ -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 ] ;
export const TEST_CHARTDATA_UNDERZERO_THREE = [ [ -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 ] ,
[ -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 ] ,
[ -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 , -1 ] ] ;
&nbsp;
&nbsp;
export const TEST_CHARTDATA_ONE = {
    Close: [4],
    High: [6],
    Interval: 60,
    Low: [1],
    Open: [3],
    Symbol: 'FX168_MSFX_GBP',
    Time: [1499910060],
    Volume: [0],
}
&nbsp;
export const TEST_CHARTDATA_ONE_ONE = [ 4 ] ;
export const TEST_CHARTDATA_ONE_THREE = [ [4 ], [4 ], [4 ] ];
export const TEST_CHARTDATA_RSI_ONE_ONE = [ 50 ];
export const TEST_CHARTDATA_BIAS_ONE_ONE = [ 0 ] ;
export const TEST_CHARTDATA_MACD_ONE_THREE = [ [0 ], [0 ], [0 ] ];
&nbsp;
export const TEST_CHARTDATA_NEW = {
    Close: [2, 1, 3, 1, 3, 1, 2, 3, 2, 2, 3],
    High: [3, 2, 3, 4, 3, 3, 3, 2, 3, 5, 3],
    Interval: 60,
    Low: [2, 1, 2, 3, 2, 2, 2, 1, 2, 4, 2],
    Open: [3, 2, 1, 3, 1, 3, 1, 2, 3, 2, 2],
    Symbol: 'FX168_MSFX_GBP',
    Time: [1499910060000, 1499910120000, 1499910180000, 1499910240000, 1499910300000, 1499910360000, 1499910420000, 1499910480000, 1499910540000, 1499910600000],
    Volume: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
}
export const TEST_CHARTDATA_MA_UPDATE_SUCCESS = [ 2 , 1.5 , 2 , 1.75 , 2 , 1.8 , 2 , 2 , 2.2 , 2 , 2.4 ];
export const TEST_CHARTDATA_BOLL_UPDATE_SUCCESS =  [ [ 2 , 1.5 , 2 , 1.6667 , 2.3333 , 1.6667 , 2 , 2 , 2.3333 , 2.3333 , 2.3333 ],
[ 2 , 2.5 , 3.633 , 3.5523 , 4.2189 , 3.5523 , 3.633 , 3.633 , 3.2761 , 3.2761 , 3.2761  ],
[ 2 , 0.5 , 0.367 , -0.2189 , 0.4477 , -0.2189 , 0.367 , 0.367 , 1.3905 , 1.3905 , 1.3905 ] ] ;
&nbsp;
export const TEST_CHARTDATA_RSI_UPDATE_SUCCESS = [ 50 , 0 , 66.6667 , 40.0012 , 57.1422 , 44.4444 , 50 , 60 , 44.4444 , 57.1422 , 50  ];
&nbsp;
export const TEST_CHARTDATA_BIAS_UPDATE_SUCCESS = [ 0 , -33.333 , 50 , -40 , 28.571 , -40 , 0 , 50 , -14.286 , -14.286 , 28.571 ] ;
&nbsp;
export const TEST_CHARTDATA_EMA_UPDATE_SUCCESS = [ 2 , 1.8182 , 2.0331 , 1.8453 , 2.0552 , 1.8633 , 1.8882 , 2.0903 , 2.0739 , 2.0605 , 2.2313 ] ;
&nbsp;
export const TEST_CHARTDATA_MACD_UPDATE_SUCCESS = [ [ 0 , -0.0797 , 0.0182 , -0.0648 , 0.0304 , -0.0549 , -0.0413 , 0.0496 , 0.0405 , 0.0329 , 0.1063 ] , [ 0 , -0.0159 , -0.0091 , -0.0202 , -0.0101 , -0.0191 , -0.0235 , -0.0089 , 0.001 , 0.0074 , 0.0272 ], [ 0 , -0.0638 , 0.0273 , -0.0446 , 0.0405 , -0.0358 , -0.0178 , 0.0585 , 0.0395 , 0.0255 , 0.0791 ] ];
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Jul 24 2017 16:45:57 GMT+0800 (中国标准时间)
</div>
</div>
<script src="../prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="../sorter.js"></script>
</body>
</html>
